package com.cmwa.solution.business.product.entity;

import org.apache.commons.lang3.StringUtils;
import org.apache.ibatis.type.Alias;

import com.cmwa.solution.base.entity.BaseVo;
import com.cmwa.solution.utils.cached.DictionaryCached;

/**
 * 招商财富产品线费用类型表实体
 * 
 * @author ex-zhengqq
 * @date 2019-01-22 15:33:47
 */
@Alias("treFeeTypeVo")
public class TreFeeTypeVo extends BaseVo {
	    
    /**
     * 费用编码
	 */
    private String feeCode; 
	    
    /**
     * 费用名称
	 */
    private String feeName; 
	    
    /**
     * 费用层级(0:产品，1：公司)
	 */
    private String feeLevel; 
	    
    /**
     * 费用缩写
	 */
    private String feeAbbr; 
	    
    /**
     * 费用标准名称，字典FEE_STANDARD_NAME
	 */
    private String feeStandardName; 
	    
    /**
     * 费用描述
	 */
    private String feeDesc; 
	
	    
    
    /**
     * 产品编号
     */
    private String accTypeId;



	public String getFeeCode() {
		return feeCode;
	}



	public void setFeeCode(String feeCode) {
		this.feeCode = feeCode;
	}



	public String getFeeName() {
		return feeName;
	}



	public void setFeeName(String feeName) {
		this.feeName = feeName;
	}


	public String getFeeLevelName() {
		if(StringUtils.isNotBlank(feeLevel)) {
			return DictionaryCached.getDictName("FEE_LEVEL", feeLevel);
		}
		return feeLevel;
	}
	

	public String getFeeLevel() {
		return feeLevel;
	}



	public void setFeeLevel(String feeLevel) {
		this.feeLevel = feeLevel;
	}



	public String getFeeAbbr() {
		return feeAbbr;
	}



	public void setFeeAbbr(String feeAbbr) {
		this.feeAbbr = feeAbbr;
	}



	public String getFeeStandardName() {
		return feeStandardName;
	}



	public void setFeeStandardName(String feeStandardName) {
		this.feeStandardName = feeStandardName;
	}



	public String getFeeDesc() {
		return feeDesc;
	}



	public void setFeeDesc(String feeDesc) {
		this.feeDesc = feeDesc;
	}



	public String getAccTypeId() {
		return accTypeId;
	}



	public void setAccTypeId(String accTypeId) {
		this.accTypeId = accTypeId;
	}
	
	
	
	public String getStatusName() {
		if(StringUtils.isNotBlank(super.status)) {
			return DictionaryCached.getDictName("FEE_TYPE_STATUS", super.status);
		}
		return super.status;
	}
    
}
